package com.wanmait.wisdom.manage.controller;

import com.wanmait.wisdom.manage.service.ManageAdminRoleService;
import com.wanmait.wisdom.util.AjaxResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class ManageAdminRoleController {
    @Resource
    private ManageAdminRoleService manageAdminRoleService;

    @GetMapping("/manage/findroles")
    public AjaxResult findAll()
    {
        return manageAdminRoleService.findRoles();
    }
}
